<div class="main_top">
	<ul class="pagenavi">
		<li><a href="/">首页</a></li>
		<li class="li2"><a href="/my/">我的主页</a></li>
		<li class="li2">我添加的企业</li>
	</ul>
</div>
<div class="clear"></div>
<div class="clear"></div>
<!--main top end -->
{{include file="mypage_left.tpl"}}
<div class="main_right">
	<h2>我添加的企业</h2>
	<div class="main_content">
		<table cellpadding="0" cellspacing="0" width="100%" style="table-layout:fixed;">
			{{if $rows}}
			<tr>
				<th>企业名称</th>
				<th>添加时间</th>
				<th>评论总数</th>
				<th>&nbsp;</th>
			</tr>
			{{foreach key=key item=item from=$rows}}
			<tr>
				<td align="center" class="{{$item.bgcolor}}"><a class="corp" href="/corporation/{{$item.id}}/" target="_blank">{{$item.name}}</a></td>
				<td align="center" class="{{$item.bgcolor}}">{{$item.create_time}}</td>
				<td align="center" class="{{$item.bgcolor}}">{{$item.estimate_total|default:0}}</td>
				<td align="center" class="{{$item.bgcolor}}"><a href="/add_cor.php?cmd=modify&id={{$item.id}}">编辑</a></td>
			</tr>
			{{/foreach}}
			{{else}}
				<tr><td><span class="noresult">对不起，您暂时还没有添加过企业！&nbsp;<a href="/add_cor.php">我要加企业</a></span></td></tr>
			{{/if}}
		</table>
	</div>
	<div class="fenye">
		{{$pageList}}
	</div>
</div>
<!--main_right end -->
<div class="clear"></div>
</div>
<!--main end -->
<script type="text/javascript" src="/script/jquery.js"></script>
<script type="text/javascript" src="/script/common.js"></script>